//
//  UIImage+Category.h
//  Teleport
//
//  Created by xtjun on 2020/5/25.
//  Copyright © 2020 xxt. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Category)

- (void)asynImageSize:(CGSize)size color:(UIColor *)color finishiBlock:(void (^)(UIImage *))finishiBlock;
- (UIImage *)imageSize:(CGSize)size color:(UIColor *)color;

- (UIImage *)resizable;
- (UIImage *)changeColor:(UIColor *)color;
+ (UIImage *)imageWithColor:(UIColor *)color;
+ (UIImage *)qrCodeImageWithContent:(NSString *)content withSize:(CGFloat)size;
- (UIImage *)imageSize:(CGSize)size color:(UIColor *)color path:(UIBezierPath *)path;
- (UIImage *)imageSize:(CGSize)size color:(UIColor *)color scale:(CGFloat)scale;
+ (UIImage *)imageWithContentsOfName:(NSString *)name type:(NSString *)type;

@end

NS_ASSUME_NONNULL_END
